<?php session_start();

require_once("tencent_api.php");

tencent_add_weibo($_SESSION['openid'], $_SESSION['access_token'], $_REQUEST['content']);

header('Location:' . $_SERVER['HTTP_REFERER']);
?>